﻿using NHibernate;

namespace OurSite.Business.Repositories
{
    public class BaseRepository 
    {
        protected ISession session;

        public BaseRepository()
        {
            if (NHibernateSessionManager.Instance != null)
                session = NHibernateSessionManager.Instance.GetSession();
        }
    }
}
